<?php if (!defined("BASEPATH")) exit("No direct script access allowed");

class Errors extends MY_Controller {

	function __construct() {
		parent::__construct();
	}

	function error_404() {
		//header("HTTP/1.1 404 Not Found");
		//header("Status: 404 Not Found");
		$this->load->view("template/page", array("errorMessage" => $this->lang->line("404TEXT"), "breadcrumbs" => array($this->lang->line("PAGE_NOT_FOUND"))));
		error_log("404 Not Found -" .(isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : "unknown"));
	}

}